import request from "@/utils/request";
import {AesMain} from "@/utils/AesHmacMD5"

// 查询模板表头列表
export function listType(query) {
  return request({
    url: "/admin/budget/form/detail/list/",
    method: "post",
    data: AesMain(query)
  });
}

// 修改模板表头数据
export function updateHeader(query) {
  return request({
    url: "/admin/budget/form/detail/updateHeader/",
    method: "post",
    data: AesMain(query)
  });
}

// 校验模板表头数据是否重复---针对于单个字段
export function inspectHeaderField(query) {
  return request({
    url: "/admin/budget/form/detail/inspectHeaderField/",
    method: "post",
    data: AesMain(query)
  });
}

